<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <canvas></canvas>

    <script>
        // window.location.href = 'http://nj.wrfzz.com'
        let cv = document.querySelector('canvas')
        let c = cv.getContext("2d")

        c.lineWidth = '10'
        c.moveTo(0,10)
        c.lineTo(100,10)
        c.stroke()
        
        c.save()

        c.beginPath()
        c.restore()
        // c.lineWidth = '2'
        c.strokeStyle = 'green'
        c.moveTo(0,50)
        c.lineTo(100,50)
        c.stroke()

        
        
        c.beginPath()
        c.moveTo(0,100)
        c.lineTo(100,100)
        c.stroke()


    </script>
</body>
</html>